<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Content-Language" content="UTF-8" />
	<meta content="all" name="robots" />
	<meta name="author" content="tiger"/>
	<meta name="Copyright" content="jinzhou group" />
	<meta name="description" content="jinzhou group oa" />
	<title>帮助管理</title>
	<link rel="stylesheet" type="text/css" href="../css/default/help.css" />
	<script language="javascript" src="../js/json2.js"></script>
	<script language="javascript" src="../js/jquery/jquery.js"></script>
	<script language="javascript" src="../js/pub-jquery.js"></script>
	<script language="javascript" src="../js/jquery/jquery.simplemodal.js"></script>
	<script lanugage="javascript" src="../js/jquery/jquery.dimensions.js"></script>
	<script language="javascript" src="../js/jquery/jquery.blockUI.js"></script>
	<script language="javascript" src="../js/jquery/jquery.pagination.js"></script>
	<script language="javascript" src="../js/jquery/jquery.form.js"></script>
	<script language="javascript" src="../js/jquery/jquery.tooltip.js"></script>
	<script language="javascript" src="../js/jquery/jquery.curvycorners.js"></script>
	<script language="javascript" src="../js/jquery/hg.calendar.js"></script>
	<script language="javascript" src="../js/oa_datas/data_company_position.js"></script>
	<script language="javascript" src="../fckeditor/fckeditor.js"></script>
	<script language="javascript" src="../js/default/help.js"></script>
</head>
<body>
<div class="container">
	<h1 class="page_header_1">帮助管理</h1>
	<div class="notice">添加或修改完帮助后请记得点击“生成帮助 XML”按钮生成有效的 XML 数据文件！</div>
	<div id="operations">
		<a href="#" class="buttons large_button" id="opr_makeXML">生成帮助 XML</a>
		<a href="#" class="buttons small_button" id="opr_addition">添 加</a>
		<a href="#" class="buttons small_button" id="opr_edition">编辑修改</a>
		<div class="divclear"></div>
	</div>
	<!-- 添加帮助 -->
	<div id="help_addition" style="display:none;">
		<div>帮助页面：
			<select id="help_pagename_selection">
				<option value="-1" selected="selected">请选择：</option>
				<% foreach value=v from=$pagename %>
					<option value="<% $v %>"><% $v %></option>
				<% /foreach %>
				<option value="-2">增加一个...</option>
			</select>
			<input type="text" id="help_pagename" name="help_pagename" disabled="disabled" />
		</div>
		<div>上接：
			<input type="radio" name="help_upid" value="0" checked="checked" disabled="disabled" /> 根
			<input type="radio" name="help_upid" value="-1" disabled="disabled" /> 以下之一：
			<div id="help_upid_list" style="display:none;"></div>
		</div>
		<div>主题：
			<input type="text" id="help_title" name="help_title" />
		</div>
		<div>内容：
			<textarea id="help_content" name="help_content"></textarea>
		</div>
		<div>
			<a href="#" class="buttons small_button" id="help_submit_newhelp">提 交</a>
		</div>
	</div>
	<!-- 编辑修改 -->
	<div id="help_edition" style="display:none;">
		<br />
		<div>请选择帮助页面：
			<select id="help_modify_selection">
				<option value="-1" selected="selected">请选择帮助页面...</option>
				<% foreach value=v from=$pagename %>
					<option value="<% $v %>"><% $v %></option>
				<% /foreach %>
			</select>
		</div>
		<table cellspacing="0" class="formatted_table">
			<thead>
				<tr>
					<th class="tth_0 tblank">&nbsp;</th>
					<th class="tth_1">主题</th>
					<th class="tth_2">时间</th>
					<th class="tth_3">操作</th>
				</tr>
			</thead>
			<tbody id="tbody2"></tbody>
		</table>
	</div>
	<div id="help_modify" style="display:none;">
		<div><a href="#" id="help_cancel_modify" name="help_cancel_modify" class="buttons small_button">取消修改</a></div>
		<div><input type="hidden" id="help_modify_id" name="help_modify_id" /></div>
		<div>主题：
			<input type="text" id="help_modify_title" name="help_modify_title" />
		</div>
		<div>内容：
			<textarea id="help_modify_content" name="help_modify_content"></textarea>
		</div>
		<div>
			<a href="#" class="buttons small_button" id="help_modify_submit">提 交</a>
		</div>
	</div>
</div>
</body>
</html>
